Repository navigation
Smoke-test packaged Unix pkg-config output - #197
Open
devnoname120 wants to merge 2 commits into
Open
devnoname120 wants to merge 2 commits into
devnoname120 wants to merge 2 commits into
Conversation
Exercise the freshly installed SDK wrapper with its bundled pkgconf under hostile host variables. Check real compiler and linker output so MSVC syntax cannot be published by a Unix bootstrap unnoticed.
Advance the pinned vita-toolchain to the merged fix that removes PKG_CONFIG_MSVC_SYNTAX from the Unix wrapper environment and carries the matching integration coverage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The packaged-SDK smoke test exercised the real installed
arm-vita-eabi-pkg-configfrontend and bundledpkgconf, but only asked for--modversion. That cannot distinguish Unix compiler/linker syntax from the MSVC syntax reported on Linux in vita-toolchain#305's follow-up.As a result, an SDK could pass its release smoke test while returning
/I,/libpath:, and.libflags on Unix.Changes
pkgconfwith every relevant host variable polluted, includingPKG_CONFIG_MSVC_SYNTAX=1;.pcfile with--cflagsand--libs;-I,-L, and-lprobeoutput and reject MSVC forms.This runs in the bootstrap smoke path, after the actual SDK archive has been built and installed, so it tests the artifact that would be published rather than inspecting wrapper source.
Verification
pkg-config frontend returned non-Unix cflags: /I...; the new pin passed;bash -n scripts/ci/build-host.sh;git diff --check.tests/package/test-vdpm-bundle.shrequires a complete stage-1 SDK locally; the pull-request build matrix exercises that path.